package code;

public class QuestionNum_04_4 {
    public static void main(String[] args) {
        int x = 2,y=3;

        switch(x)
        {
            default:
                y++;
            case 3:
                y++;
                break;
            case 4:
                y++;
        }

        System.out.println("y="+y);

    }
}
